From: Colin Walters Date: Mon, 6 Oct 2014 21:43:02 +0000 (-0400) Subject: trivial-httpd: Another followup fix - need to listen on all interfaces X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1092 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5dba2442a112b0af70eafa0c3c33a4e58ee5bb76;p=ostree.git trivial-httpd: Another followup fix - need to listen on all interfaces This was the intended design, but it regressed when updating. --- diff --git a/src/ostree/ot-builtin-trivial-httpd.c b/src/ostree/ot-builtin-trivial-httpd.c index dc4f94e1..e8c06e37 100644 --- a/src/ostree/ot-builtin-trivial-httpd.c +++ b/src/ostree/ot-builtin-trivial-httpd.c @@ -347,7 +347,7 @@ ostree_builtin_trivial_httpd (int argc, char **argv, OstreeRepo *repo, GCancella #if SOUP_CHECK_VERSION(2, 48, 0) server = soup_server_new (SOUP_SERVER_SERVER_HEADER, "ostree-httpd ", NULL); - if (!soup_server_listen_local (server, 0, 0, error)) + if (!soup_server_listen_all (server, 0, 0, error)) goto out; #else server = soup_server_new (SOUP_SERVER_PORT, 0,